function OPMObject (id, name) { 
	this.id = id;	
	this.name = name;
	this.layer = null;
	this.states = { }
}
OPMObject.prototype.addState = function(state) {
    this.states[state.id] = state;
};


